import cplex
import sys

def cpxsol(c):
    c.parameters.mip.display.set(0)
    c.parameters.preprocessing.presolve.set(0)
    c.solve()
    return c.solution.get_objective_value()


    
#cpxsol(c)
